import request from '@/utils/request'

export function mergeFile(data) {
  return request({
    url: '/sys/file/mergeFile',
    method: 'post',
    headers: {
      isToken: true
    },
    data: data
  })
}

export function getResource(id) {
  return request({
    url: '/sys/file/accessResourceAgent/fileId/' + id,
    method: 'GET',
    headers: {
      isToken: true
    }
  })
}
